package com.gqc.test05;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestColl {

@Test 
public void testColl() {
	
	String xmlPath= "testColl.xml";
//	BeanFactory beanFactory = new XmlBeanFactory(new ClassPathResource(xmlPath));
	ApplicationContext applicationContext = new ClassPathXmlApplicationContext(xmlPath);
	 collData bean = applicationContext.getBean("collData",collData.class);
	
	System.out.println(bean);
}
}
